// This function processes the quiz data
function submittest()
{
	

	var q1 = document.forms.quiz1.question1;
	var q2 = document.forms.quiz1.question2;
	var q3 = document.forms.quiz1.question3;

	
	
	
	if( q1[ 2 ].checked == true && q2[ 0 ].checked == true && q3[ 0].checked == true)
	{
		 
	 
	alert("Congratulations you have passed the test");
}	

else

{

alert( "Sorry try again" );

}
	
}	 
 